﻿<UserControl x:Class="Assembly.Metro.Controls.PageTemplates.Games.HaloImage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
             mc:Ignorable="d" 
             Background="#28282b"
             d:DesignHeight="1000" d:DesignWidth="600">
    <Grid>
        <Grid x:Name="sideBar" Width="300" VerticalAlignment="Stretch" HorizontalAlignment="Left" Background="#2d2d30">
            <Rectangle Fill="#FF545456" Width="2" Margin="0" VerticalAlignment="Stretch" HorizontalAlignment="Right" d:LayoutOverrides="Height" />

            <TextBlock Name="lblBLFname" FontFamily="{DynamicResource MetroFontLight}" Text="blfname" Foreground="White" FontSize="32" Margin="25,36.5,13,0" Height="50" VerticalAlignment="Top" TextTrimming="CharacterEllipsis" />
            <ed:RegularPolygon Fill="#FF4A4A4C" HorizontalAlignment="Left" Height="19" InnerRadius="1" Margin="-16,51,0,0" PointCount="3" Stretch="Fill" VerticalAlignment="Top" Width="48" RenderTransformOrigin="0.5,0.5">
                <ed:RegularPolygon.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform Angle="90"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </ed:RegularPolygon.RenderTransform>
            </ed:RegularPolygon>

            <Rectangle Fill="#FF363639" Height="1" Width="250" Margin="25,114.25,25,0" VerticalAlignment="Top" d:LayoutOverrides="Height" />
            <ScrollViewer Margin="25,156,15,21" ScrollViewer.VerticalScrollBarVisibility="Auto">
                <StackPanel>
                    <TextBlock FontFamily="{DynamicResource MetroFontSemiLight}" Text="BLF Info;" Foreground="White" FontSize="16" />
                    <StackPanel x:Name="paneBLFInfo" Margin="0,10,0,0">
                    </StackPanel>

                    <Rectangle Fill="#FF363639" Height="1" Width="250" Margin="0,20,0,15" VerticalAlignment="Top" d:LayoutOverrides="Height" />

                    <TextBlock FontFamily="{DynamicResource MetroFontSemiLight}" Text="Image Info;" Foreground="White" FontSize="16" />
                        <StackPanel x:Name="paneImageInfo" Margin="0,10,0,0">
                            <Button Content="Inject blf Image" Margin="0,10,0,0" x:Name="btnInjectImage" Style="{StaticResource TabActiveButtons}" HorizontalAlignment="Stretch" Click="btnInjectImage_Click" />
                            <Button Content="Extract blf Image" Margin="0,0,0,0" x:Name="btnExtractImage" Style="{StaticResource TabActiveButtons}" HorizontalAlignment="Stretch" Click="btnExtractImage_Click" />
                        </StackPanel>

                    <Rectangle Fill="#FF363639" Height="1" Width="250" Margin="0,20,0,15" VerticalAlignment="Top" d:LayoutOverrides="Height" />
                </StackPanel>
            </ScrollViewer>
        </Grid>
        
        <Grid Margin="300,0,0,0" HorizontalAlignment="Stretch">
            <Image x:Name="imgBLF" Stretch="None" />
        </Grid>
    </Grid>
</UserControl>
